<html>
<body>
<h2>Hello World!</h2>

spring mvc 上传文件

<form name="form1" action="/manage/product/upload.do" method="post" enctype="multipart/form-data">
    <input type="file" name="upload_file">  <%--name和controller中的requestParams相同--%>
    <input type="submit" value="spring mvc 上传文件">
</form>

富文本图片上传
<form name="form1" action="/manage/product/richtext_img_upload.do" method="post" enctype="multipart/form-data">
    <input type="file" name="upload_file">
    <input type="submit" value="spring mvc 上传文件">
</form>

</body>
</html>
